package com.kelvem.saas.workbanch.fsm.anno.state;


import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author kelvem
 */
@Repeatable(EventStates.class)
@Retention(RetentionPolicy.RUNTIME)
public @interface EventState {
    String stateCode();
    
    String stateName();
    
    int start() default 0;
    
    int end() default 0;
    
    int timeout() default 0;
    
    String type() default "normal";
    
}
